﻿using IntelligentAgriculture.Contracts.Dto.Input;
using IntelligentAgriculture.Contracts.Dto.Output;
using IntelligentAgriculture.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IntelligentAgriculture.Contracts.Interface
{

    /// <summary>
    /// 品相测定服务
    /// </summary>
    public interface IAppearanceModelService
    {
        /// <summary>
        /// 品相测定列表
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<PageOutput<AppearanceModelOutPut>> AppearanceModellList(AppearanceModelnPut input);

        /// <summary>
        /// 删除品相测定
        /// </summary>
        /// <param name="ids"></param>
        /// <returns></returns>
        Task<int> Delete(params int[] ids);

        /// <summary>
        /// 新增品相测定
        /// </summary>
        /// <param name="appearancemodel"></param>
        /// <returns></returns>
        Task<int> Add(Appearancemodel appearancemodel);

        /// <summary>
        /// 更新品相测定
        /// </summary>
        /// <param name="appearancemodel"></param>
        /// <returns></returns>
        Task<int> Update(Appearancemodel appearancemodel);


    }




}
